package cn.zhaoyuening.chat_server.config;

import cn.zhaoyuening.chat_server.container.ChannelContainer;
import cn.zhaoyuening.chat_server.container.impl.BaseChannelContainer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Buynow on 2017/6/14.
 */
@Configuration
public class BeanConfig {
    @Bean
    public ChannelContainer channelContainer() {
        return new BaseChannelContainer();
    }
}
